All Questions
86 questions
2votes
0answers
118views
How to force a specific iCloud folder to sync using BASH / Shell Script? (MacOS Sequoia)
This is my current idea: cd ~/Library/Mobile\ Documents/com~apple~CloudDocs/"INSERT PATH TO FOLDER" && find . -type f -print0 | xargs -0 brctl download I plan to run this once per ...
3votes
1answer
674views
Automator script error -212
Im on an intel macOS Catalina and I am trying to create a automation using apple script to run a command in zsh terminal. The command is to set new defaults for my bash profile and it works perfectly ...
1vote
1answer
58views
Can't get shell script to talk to AppleTalk script in Automator
I'm trying to make an Automator Quick Action that will: Take a highlighted word, look it up in a database, allow the user to pick from among the hits returned by the database, and put the user's ...
0votes
0answers
68views
The bash script in mac automator works for texts in Chrome, but not in Safari
Here is the code: if [ "$@" != "" ]; then timestamp="$(date +%Y-%m-%d' '%H:%M:%S)" dictlink="dict://$(echo $@ | sed 's/ /%20/')" ahref="<A ...
1vote
1answer
100views
Node module doesn't work as intended with automator shell script
I am trying to start a live-server on demand in any folder temporarily with automator, and kill it when I'm done. Live server is a node package. I've installed globally. In terminal, if I go to any ...
3votes
3answers
300views
Automator Shell Script - grep and variables - extracting and combining text
I'm trying to create an Automator Folder Action that does the following when multiple files are moved into it. Each file has the same format (TextA is always the same; StringA and B are different for ...
1vote
1answer
107views
Error while making automator service to archive files with tar
I wrote an automator service to be create tar archives using the tar command, due to this format being more efficient than the .zip that the "Compress" option in the finder menu gives me. ...
2votes
1answer
658views
Change creation date to folder name - batch
Hi I have a load of jpg and avi files in sub folders which are named with the date the files were created. Unfortunately the files themselves have incorrect creation dates which I would like to batch ...
0votes
0answers
92views
Where is the starting path set for apps created with Automator?
So, twenty years later I tried to adopt Launchpad one more time, failed, but it got me to start creating Automator apps from Wine apps or Java applets. On the resulting app, I open it to move the ...
0votes
1answer
309views
OSX Automator - open app in application contents folder?
I would like to achieve the following via Mac's Automator: open /Applications/Microsoft\ Outlook.app/Contents/SharedSupport/Outlook\ Profile\ Manager.app wait for me to select an outlook profile and ...
2votes
1answer
1kviews
Is it possible to close a script with a keypress?
In AutoHotKey, using the keyword "ExitApp" can allow the user to stop a script with a keypress. For example, Esc::ExitApp can stop a script by pressing "esc". Now, with a ...
0votes
1answer
770views
How to create a script with Automator to watermark each PDF in a folder with a different watermark?
I am trying to create a script to watermark a group a PDF files in a folder, each PDF has to have a unique watermark. All the PDFs are in one folder, all the watermarks are in .png located in another ...
1vote
1answer
155views
Extract e-mail addresses from large text file [closed]
Is there any way I could search through a load of text documents and extract the email addresses from it into one new document? I have this so far in Automator: #!/bin/bash Report=/Users/me/Desktop/...
1vote
1answer
911views
Ask for password input when mounting a volume via Automator
I have Automator mounting a volume with hdiutil, but it requires a password to mount. Natively macOS would prompt with a hidden-password input field; but I don't know how to trigger the same when ...
0votes
0answers
38views
Why is this PDF rescaling Automator script misfires?
I am using an Automator to convert folders of A4-sized PDFs to other formats. It uses PDF GhostScript though I have not personally written the code, somebody on discussions.apple.com helped me at the ...